package com.wang.loanassembly.controller;


import com.wang.commons.result.Result;
import com.wang.loanassembly.param.overdueRepayment.AddRepaymentParam;
import com.wang.loanassembly.param.overdueRepayment.ChangeOverdueParam;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author lichacha
 * @since 2022-01-04
 */
@Controller
@RequestMapping("/overdueRepayment")
@Api(tags = "逾期处理接口类")
public class OverdueRepaymentController {

    /**
     * 添加逾期处理记录
     */
    @ApiOperation("添加逾期处理记录")
    @PutMapping("addOverdue")
    public Result addOverdueRepayment(@RequestBody AddRepaymentParam arp ){
        return null;
    }
    /**
     * 修改逾期处理记录
     */
    @ApiOperation("修改逾期处理记录")
    @PostMapping("changOverdue")
    public Result changOverdueRepayment(@RequestBody ChangeOverdueParam cop ){
        return null;
    }
}

